package com.cjl.learn.postProcessor;

import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * Created by Enzo Cotter on 2019-07-07.
 */
public class MyInitializer implements ApplicationContextInitializer {

    public MyInitializer() {
        super();
        System.out.println("MyInitializer构造函数被调用。。。");
    }
    @Override
    public void initialize(ConfigurableApplicationContext applicationContext) {
        System.out.println("MyInitializer的initialize方法被调用。。。。。");
    }

}
